package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 入库货物
 *
 * @author luox
 */
@TableName(value = "glc_receive_goods")
public class ReceiveGoods {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "batch_Id")
    private Long batchId; //批次号

    @TableField(value = "code")
    private String code; //货物编码

    @TableField(value = "name")
    private String name; //名称

    @TableField(value = "arrival_time")
    private Date arrivalTime; //到达时间

    @TableField(value = "amount")
    private int amount; //量

    @TableField(value = "operator_id")
    private int operatorId; //创建人

    @TableField(value = "create_time")
    private Date createTime; //创建日期

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(int operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
